
public class Constants {
	
	public static final int pricePerDvd = 1995; 
	
	//Integer
	public static final String loginAttemptAttributeName = "loginAttemptCountFor(EmailAddress)";
	
	//String, user who is logged is, null if none
	public static final String loggedInUserAttributeName = "loggedInUser";
	
	//CartOfItems, all the DVDs this used has bought
	public static final String cartAttributeName = "cartOfItems";
	
	//DVD, passed in via session when someone clicks "Add to Cart"
	public static final String dvdToAddAttributeName = "dvdToAdd";
	
	//ArrayList<DVD>, passed in from ShoppingCart servlet when user changes item quantities
	public static final String dvdsToSetAttributeName = "dvdsToSet";
	
	//ArrayList<DVD>, lets shopping cart know which DVDs to remove if confirmed
	public static final String dvdsToRemoveAttributeName = "dvdsToRemove";
	
	//Boolean, used to tell DvdProcessor to go to CustomerInformation
	public static final String goToCheckoutAttributeName = "goToCheckout";
	
	//MovieList
	public static final String MovieListAttributeName = "movieList";
	
	//String, holds the shipping address
	public static final String shippingAddressAttributeName = "shippingAddress";
	
	//Boolean, let's Confirmation know if customer info is good
	public static final String customerInfoGoodAttributeName = "customerInfoGood";
	
	//Boolean, was DvdProcessor reached via the update button?
	public static final String viaUpdateButtonAttributeName = "viaUpdateButton";
	
	//Boolean, was Login reached when wanting to go to cart?
	public static final String wantToGoToCartAttributeName = "wantToGoToCart";
	
	//Boolean, has the user been to the main page?
	public static final String beenToMainPageAttributeName = "beenToMainPage";
	
	//Types of checkout buttons
	public static final int noCheckoutButton = 0;
	public static final int straightToCart = 1;
	public static final int udpateCartAndGoToCart = 2;
	
	//constants for movielist
	public static  String BEGIN = "0", NEXT = "1", PREV = "2", ASCENDING = "ASC", DESCENDING = "DESC", ORDER_BY_TITLE = "5", ORDER_BY_YEAR = "6",
	ORDER_BY_DIRECTOR = "7";
	
	//movie list type
	public static String BROWSE_BY_GENRE = "0", BROWSE_BY_TITLE ="1", SEARCHING = "2" ;
	
}
